package com.aaa.aop.service.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: whj
 * @Version 1.0
 * @Date: 2022/11/11  21:48
 */
@RestController
@RequestMapping("/aop")
public class HelloController {
    @GetMapping("get")
    public String get(){
        System.out.println("==================getTest=========================");
        return "getTest";
    }
    @GetMapping("post")
    public String post(){
        System.out.println("==================postTest=========================");
        return "postTest";
    }
}
